package com.zoweunion.mechanic.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zoweunion.mechanic.entity.PromotionCouponEntity;
import org.springframework.stereotype.Component;
import org.apache.ibatis.annotations.Param;

import java.rmi.MarshalledObject;
import java.util.List;
import java.util.Map;

/**
 * 优惠券表
 * 
 * @author xp
 * @email 17688825585@163.com
 * @date 2020-08-11 13:32:35
 */
@Component
public interface PromotionCouponDao  extends BaseMapper<PromotionCouponEntity>{

    List<PromotionCouponEntity> queryPage(@Param("map") Map<String, Object> map);

    List<Map<String,Object>> selectUserId();


    List<PromotionCouponEntity> couponList(@Param("map") Map<String, Object> params);

    List<PromotionCouponEntity> couponListByDate();

    List<PromotionCouponEntity> selectCouponList();

    List<PromotionCouponEntity> selectCouponListByDate();

    List<Map<String,Object>> carAnnualTimeNotice();

    List<PromotionCouponEntity> couponListNotLogin(@Param("map") Map<String, Object> params);
}
